﻿using System;
using System.Collections.Generic;
using System.Text;
using NoteList.Delegates;

namespace NoteList.Models
{
    public class ZNotes : List<ZNote>
    {
        public static ZNotes CopyFromList(IEnumerable<ZNote> notelist)
        {
            ZNotes notes = new ZNotes();
            foreach (ZNote note in notelist)
                notes.Add(note);
            return notes;
        }
    }
}
